.coupon{
    width: 100%;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: #fff;
    box-sizing: border-box;
    font-size: .32rem;
    // 
   
    .coupon_scroll_box{
        width: 100%;
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        .noMsgTip {
            width: 100%;
            text-align: center;
            position: absolute;
            top: 50%;
            transform:translateY(-50%); 
            -webkit-transform:translateY(-50%); 
            -o-transform:translateY(-50%); 
            -moz-transform:translateY(-50%); 
            -ms-transform:translateY(-50%);
        }
    }
    #scroller {
        width: 100%;
        ul {
            padding-bottom: .1rem;
        }
    }
    #pullUp {
        padding:0 10px;
        height:30px;
        line-height:30px;
        color:#888;
        text-align:center;
    }
	.coupon_item{
        font-size: .24rem;
        box-sizing:border-box;
        background-color: #fff;
        margin: 0.1rem .1rem .3rem;
        // padding: 0.05rem 0;
        // border-bottom: 1px solid #ddd;
        .info-box{
            background: url($couponBG) no-repeat left top;
            -webkit-background-size: 100% 100%;
            background-size: 100% 100%;
            height: 2.6rem;
            .info {
                height: 1.7rem;
                box-sizing: border-box;
                width: 100%;
                padding-left: 2%;
          		.img {
                   font-size: .32rem;
                   .img-inner{
                        width: 80px;
                        height: 76px;
                        border-radius: 2px;
                            font-size: 0;
                        img{
                            margin-top: 6px;
                            border-radius: 2px;
                            width: 80px;
                            height: 76px;
                        }
                   }
                }
                .text {
                    width: calc( 100% - 80px );
                    padding-top: .1rem;
                    box-sizing:border-box;
                    padding-left: .3rem;
                    .title {
                        height: .4rem;
                        line-height: .4rem;
                        font-size: .32rem;
                        color: #666;
                    }
                    .title1{
                        margin: .1rem 0 ;
                    }
                    .title2 {
                        width: 100%;
                        font-size: .24rem;
                        margin: .1rem 0;
                        .coupon-type {
                            float: left;
                            width: 1.5rem;
                        }
                        .product-name {
                            float: left;
                            width: calc( 100% - 1.6rem );
                            overflow: hidden;
                            text-overflow: ellipsis;
                            white-space: nowrap;
                        }
                    }
                    .expire-days{
                    }
                }
      		}
            .use-rules {
                height:.9rem;
                line-height: .9rem;
                width: 100%;
                position: relative;
                box-sizing: border-box;
                padding: 0 20px;
                font-size: .28rem;
                color: #999;
                i {
                    position: absolute;
                    right: 10px;
                    top: 0;
                }
                .inner1 {
                    word-break: keep-all;
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: ellipsis;
                }
                .inner2{
                    background-color: #fff;
                    // line-height: .4rem;
                }
            }

        }
        .distribute {
            height: .8rem;
            text-align: right;
            box-sizing: border-box;
            padding: 0 20px;
            button {
                background:none;
                font-size: .32rem;
                margin-right: 10px;
                border: none;
                width: 76px;
                height: 30px;
                background-color: #FA7D70;
                color: #fff;
                border-radius: 100px;
            }
            .cancle {
                background-color: #adabab;
            }
        }
	}

    .vipQrcode {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,.7);
        font-size: .35rem;
        .content{
            .add-text{
                color:#fff;
                text-align: center;
                line-height: .5rem
            }
            .qrcode-border{
                border:.1rem solid #fff;
                margin-bottom: .2rem;
            }
        }
        .form-wrap{
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%,-59%);
            max-height: 80%;
            background-color: #fff;
            width: 80%;
            border-radius: 5px;
            text-align: center;
            .form-item{
                padding: .25rem .35rem 0 .35rem;
                .form-name{
                    width: 100%;
                    text-align: left;
                    padding-bottom: .1rem;
                    font-size: .25rem;
                    color: #db5f32;
                }
                .item-cont{
                    width: 100%;
                    position: relative;
                    .coupon-name{
                        font-size: .35rem;
                        font-weight: bold;
                        color: #db5f32;
                    }
                    .search-list{
                        position: absolute;
                        width: 100%;
                        overflow: hidden;
                        overflow-y: auto;
                        max-height: 3rem;
                        background-color: #f2f2f2;
                        z-index: 9;
                        box-shadow: 0px 0px 15px rgba(0,0,0,0.1);
                        ul{
                            li{
                                font-size: .25rem;
                                padding: .159rem 0;
                                border-bottom: 1px solid #ddd;
                                color: #333;
                            }
                        }
                    }
                    .tip{
                        font-size: .25rem;
                        color: #db5f32;
                        line-height: .35rem;
                        padding-top: .25rem;
                    }
                    select{
                        width: 100%;
                        font-size: .28rem;
                        height: .7rem;
                        box-sizing: border-box;
                        background:none;
                        border: 1px solid #ddd;
                        border-radius: .1rem;
                    }
                    input{
                        width: 100%;
                        text-align: left;
                        margin: 0;
                        border: none;
                        box-sizing: border-box;
                        background:none;
                        font-family: ".PingFangSC";
                        font-size: .28rem;
                        height: .7rem;
                        border: 1px solid #ddd;
                        border-radius: .1rem;
                        padding-left: .1rem;
                    }
                    .get-code{
                        position: absolute;
                        top: 0;
                        right: 0;
                        display: inline-block;			
                        width: 2rem;
                        height: .7rem;
                        line-height: .7rem;
                        text-align: center;
                        background-color: #ccc;
                        color: #fff;
                        font-size: .25rem;
                    }
                    .item{
                        display: inline-block;
                        white-space: nowrap;
                        // align-items: center;
                        // flex-wrap: nowrap;
                        padding: .1rem 0rem .1rem .25rem;
                        background-color: #f4f4f4;
                        border-radius: .1rem;
                        margin: .1rem 0;
                        box-sizing: border-box;
                        font-size: .25rem;
                        color: #db5f32;
                        max-width: 100%;
                        .name-wrap{
                            display: inline-block;
                            text-align: left;
                            max-width: calc(100% - .5rem);
                            overflow: hidden;
                            text-overflow: ellipsis;
                            white-space: nowrap;
                            vertical-align: middle;
                        }
                        span{
                            display: inline-block;
                            vertical-align: middle;
                            white-space: nowrap;
                        }
                        .close{
                            font-size: .159rem;
                            color: #ccc;
                            display: inline-block;
                            background-color: #666;
                            width: .25rem;
                            height: .25rem;
                            text-align: center;
                            line-height: .25rem;
                            border-radius: .25rem;
                            vertical-align: middle;
                        }
                    }
                }
            }
            .sub-btn{
                width: calc(100% - .7rem);
                height: .7rem;
                border: none;
                background-color: #db5f32;
                color: #fff;
                border-radius: .1rem;
                margin: .25rem 0;
            }
        }
    }
}